import request from "@/utils/request";


// 教育获取数据
// /api/admin/education/subject/list
export function educationGetlist(url: string) {
  return request.post<educationGetlistType>(url)
}


// 教育查询数据
// /api/admin/education/subject/page
export function educationFindlist(url: string,data:educationFindlistType) {
  return request.post<educationFindResponseType>(url,data)
}


// 教育-新建
export function educationCreateList(url:string,data:educationCreateListType) {
  return request.post(url,data)
}


// 教育-编辑
// /api/admin/education/subject/edit
export function educationChangeList(url:string,data:educationCreateListType) {
  return request.post(url,data)
}

// 教育-删除
// api/admin/education/subject/delete/21
export function educationDeleted(url:string) {
  return request.post(url)
}
